<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset=utf-8"/>
    <title>恭喜！</title>
    <link rel="stylesheet" href="__CSS__/bootstrap.min.css">
</head>
<body>
<div class="container">
    <div class="col-md-4"></div>
    <div class="col-md-4">
        <div class="panel panel-primary">
            <div class="panel-heading">                <?php echo $msg?>            </div>
            <div class="panel-body"><img src="__STATIC__/xiao.jpg" alt="" width="100%"></div>
            <div class="panel-footer"><p class="jump"> 页面自动 <a id="href" href="<?php echo($url);?>">跳转</a>
                    等待时间： <b id="wait"><?php echo($wait);?></b>
                </p>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">    (function(){
        var wait = document.getElementById('wait'), href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0){
                location.href = href;
                clearInterval(interval);
            }
            ;
        }, 1000);
    })();
</script>
</body>
</html>
